package com.ideal.manage.esms.repository.diagnostic;

import com.ideal.manage.esms.bean.diagnostic.DiagnoseManage;
import com.ideal.manage.esms.repository.framework.BaseRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

/**
 * Created By Dai On 2018/5/29
 * Remark: 诊断分析管理表 Repository
 */
public interface DiagnoseManageRepository extends BaseRepository<DiagnoseManage, String>{
    @Query("select d from DiagnoseManage d where d.isValid=1 ")
    List<DiagnoseManage> findDiagnoseManages();
}
